package cn.dxs.gitee.dao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;
import java.util.Date;

/**
 * @author lijian
 * @date 2019-09-21 16:34
 */
@Entity
public class TraceUser {

    @Id
    @NotNull
    private String login;
    private String name;
    private String avatarUrl;
    private Integer followers;
    private Integer following;
    private java.util.Date startTime;
    private java.util.Date latestTime;
    private Integer traceNum;
    @Generated(hash = 130690218)
    public TraceUser(@NotNull String login, String name, String avatarUrl,
            Integer followers, Integer following, java.util.Date startTime,
            java.util.Date latestTime, Integer traceNum) {
        this.login = login;
        this.name = name;
        this.avatarUrl = avatarUrl;
        this.followers = followers;
        this.following = following;
        this.startTime = startTime;
        this.latestTime = latestTime;
        this.traceNum = traceNum;
    }
    @Generated(hash = 572788373)
    public TraceUser() {
    }
    public String getLogin() {
        return this.login;
    }
    public void setLogin(String login) {
        this.login = login;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAvatarUrl() {
        return this.avatarUrl;
    }
    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }
    public Integer getFollowers() {
        return this.followers;
    }
    public void setFollowers(Integer followers) {
        this.followers = followers;
    }
    public Integer getFollowing() {
        return this.following;
    }
    public void setFollowing(Integer following) {
        this.following = following;
    }
    public java.util.Date getStartTime() {
        return this.startTime;
    }
    public void setStartTime(java.util.Date startTime) {
        this.startTime = startTime;
    }
    public java.util.Date getLatestTime() {
        return this.latestTime;
    }
    public void setLatestTime(java.util.Date latestTime) {
        this.latestTime = latestTime;
    }
    public Integer getTraceNum() {
        return this.traceNum;
    }
    public void setTraceNum(Integer traceNum) {
        this.traceNum = traceNum;
    }
}
